home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_09_11 / 9n11106a < prev    next >
Text File  |  1991-09-21  |  271b  |  14 lines

  1. class String
  2.         {
  3. public:
  4.         String() : len(0)
  5.                 {
  6.                 str = new char[1];
  7.                 *str = '\0';
  8.                 }
  9.         String(const char *) { ... }
  10.         String(const String &s) { ... }
  11.         ...
  12.         };
  13.  
  14.